package com.open.capacity.user.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.open.capacity.model.system.SysRole;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author 作者 ftquan E-mail: 464725602@qq.com
 * @version 创建时间：2017年11月12日 上午22:57:51
 * 員工实体
 */
@Data
@TableName("sys_employee")
public class SysEmployee extends Model<SysEmployee> implements Serializable {

    private static final long serialVersionUID = -5886012896705137070L;
    @TableId(value = "id", type = IdType.ID_WORKER)  //雪花算法  id生成策略

    private String id;
    private String userName;
    private String realName;
    private String nickName;
    private String level;
    private String type;
    private String headUrl;
    private String code;
    private String tel;
    private String phone;
    // private String email;
    //  private String qq;
    //private String wechat;
    //private String openid;
    private String quickQuery;
    private String simpleSpelling;
    private Integer sex;
    //  private Date birthday;
    private String companyId;
    private String departmentId;
    private String driverLicense;
    private Integer isDriver;
    //  private Integer sort;
    private String description;
    private Integer status;
    private Date createTime;
    private Date updateTime;

    @TableField(exist = false)
    private String postIds;

    /**
     * 流程实例id
     */
    @TableField(exist = false)
    private String wfProcessId;

}
